import Vue from 'vue'
import App from './App.vue'
import store from './store'
import router from './router'
import './lib/mui/css/mui.css'
import './lib/mui/css/icons-extra.css'
import VuePreview from 'vue-preview'
Vue.use(VuePreview)
Vue.config.productionTip = false

// 引入 auth.js 并注册
import auth from './auth'
Vue.use(auth)

// 引入 axios.js 并注册
import axios from './axios'
Vue.use(axios)

import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
Vue.use(MintUI)

new Vue({
  store,
  router,
  render: h => h(App),
}).$mount('#app')